<html>
<head>
    <title>${title}</title>
    <style>
        @page {
            size: 8.5in 11in;

            @bottom-center {
                content: "page " counter(
                        page
                ) " of  " counter(
                        pages
                );
            }
        }
    </style>
</head>
<body>
<h1 style="text-align: center;" align="center">${resultMap.title}数据质量报告</h1>

<div>
    <h2 style="text-align: center;" align="center">${searchDate}</h2>
</div>

<div>
    <h3 align="">一.区域总体数据质量情况</h3>
</div>
<div>
    <h4>当日数据质量综合得分：<span style="color:red;">${resultMap.bcdf}</span> 分，${resultMap.dfbh} ；</h4>
</div>


<div>
    <h3>二.数据上传情况</h3>
</div>
<div><h4>数据上传总表单数：<span style="color:#0072E3;">${resultMap.zscbs}</span>个，失败表单数：<span style="color:red;">${resultMap.wscb}</span>个，上传成功表单数：<span style="color:#82D900;">${resultMap.scb}</span>个。</h4></div>

<table style="width: 100%;border-collapse: collapse;border: 1px solid black;">
    <tr>
        <td style="border: 1px solid black;font-size: 14px;text-align: center;"><b>表单名称</b></td>
        <td style="border: 1px solid black;font-size: 14px;text-align: center;"><b>上传状态</b></td>
        <td style="border: 1px solid black;font-size: 14px;text-align: center;"><b>应传数量</b></td>
        <td style="border: 1px solid black;font-size: 14px;text-align: center;"><b>实传输量</b></td>
    </tr>
    <#list resultMap.sclbList as sclb>
        <tr>
            <td style="border: 1px solid black;font-size: 14px;">${sclb.bm}</td>
            <td style="border: 1px solid black;font-size: 14px;">${sclb.sczt}</td>
            <td style="border: 1px solid black;font-size: 14px;">${sclb.ycsl}</td>
            <td style="border: 1px solid black;font-size: 14px;">${sclb.scsl}</td>
        </tr>

    </#list>
</table>

<div>
    <h3>三.错误分析</h3>
</div>

<div>
    <h4>展示错误指标中错误比最高的前50条数据：</h4>
</div>
<table  style="width: 100%;border-collapse: collapse;border: 1px solid black;">
    <tr>
        <td style="width: 6%;border: 1px solid black;font-size: 14px;text-align: center;"><b>序号</b></td>
        <td style="width: 14%;border: 1px solid black;font-size: 14px;text-align: center;"><b>表名</b></td>
        <td style="width: 66%;border: 1px solid black;font-size: 14px;text-align: center;"><b>错误描述</b></td>
        <td style="width: 14%;border: 1px solid black;font-size: 14px;text-align: center;"><b>错误比（%）</b></td>

    </tr>
    <#list resultMap.cwgzList as cwgz>
        <tr>
            <td style="border: 1px solid black;font-size: 14px;">${cwgz.xh}</td>
            <td style="border: 1px solid black;font-size: 14px;">${cwgz.bm}</td>
            <td style="border: 1px solid black;font-size: 14px;">${cwgz.cwms}</td>
            <td style="border: 1px solid black;font-size: 14px;">${cwgz.cwb}</td>
        </tr>
    </#list>
</table>


</body>
</html>

